package crs.users.dao;
import java.util.List;

import crs.users.model.CrsCodalta;
import crs.users.model.Users;

public interface UsersDao {

	void persist(Users transientInstance);
	void remove(Users persistentInstance);
	Users merge(Users detachedInstance);
	Users findById(Integer id);
	Users findByUserName(String username);
	Users findByEmail(String email);
	void actIdData(Users user);
	Users findByEmail(String email, Integer id);
	Users findByUserName(String username, Integer id);
	boolean checkPassword(String oldpassword, Integer id);
	List getUsuariosList(Users user, String role, Integer userid);

	
}
